package com.ktjy.demo;

import com.ktjy.demo.service.DemoService;
import jakarta.annotation.Resource;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class DemoServiceTester {
    @Resource
    private DemoService demoService;
    @Test
    public void testSayHello() {
        String msg = demoService.sayHello();
        System.out.println("msg："+msg);
    }

}
